package com.tmptSource.service.intf;

import java.util.List;
import java.util.Map;

import com.tmpt.dto.Result;
import com.tmptSource.dto.*;

public interface IOwrRegionService {

	public Result<OwrRegionDto> pagination(OwrRegionDto owrRegionDto,PageDto pageDto);

	public Result<OwrRegionDto> pagination(OwrRegionDto owrRegionDto,PageDto pageDto,Map<String,Object> paramMap);

	public Result<OwrRegionDto> selectAll();

	public Result<OwrRegionDto> selectById(long id);

	public Result<OwrRegionDto> addData(OwrRegionDto owrRegionDto);

	public Result<OwrRegionDto> editData(OwrRegionDto owrRegionDto);

	public Result deleteById(long id,String adminMan);

	/**
	 *页面上查询列的值，动态加载，sql语句读数据库配置而来
	*/
	public java.util.List select4owrTypeId();

	/**
	 * 查出所有
	 * @return
	 */
	public List<OwrRegionDto> selectAllRegionId();
}
